<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-bean.tld" prefix="bean"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="ipb" uri="/WEB-INF/conf/tld/ipb.tld"%>
<%@ taglib prefix="ad" uri="agiledata"%>
<%@ page import="cn.agiledata.bank.common.util.Constant"%>
<%@ page import="cn.agiledata.bank.account.service.IAccountConst"%>
<%@ page import="cn.agiledata.bank.account.service.AccountSummary"%>
<%
	String path = request.getContextPath();
	AccountSummary user = (AccountSummary) session
			.getAttribute(Constant.SESSION_ACCOUNT_SUMMARY);
%>
<script language="javascript" src="<%=path%>/js/popcalendar.js"></script>
<script language="javascript">

</script>
<div id="main">
	<div class="content_right">
		<div style="width:745px;margin-left:10px;">
			<div class="titleinfo">
				银行结算交易明细
			</div>
			<div class="edit_pass">
				<table width="100%" class="tablestyle">
					<tr>
						<th>
							<span class="blue14">交易编号</span>
						</th>
						<th>
							<span class="blue14">交易对方</span>
						</th>
						<th>
							<span class="blue14">交易类型</span>
						</th>
						<th>
							<span class="blue14">交易模式</span>
						</th>
						<th>
							<span class="blue14">交易状态</span>
						</th>
						<th>
							<span class="blue14">交易时间</span>
						</th>
						<th>
							<span class="blue14">收/付</span>
						</th>
						<th>
							<span class="blue14">金额</span>
						</th>
						<th>
							<span class="blue14">费用</span>
						</th>
					</tr>
					<c:forEach var="aqb" items="${pagination.data}" varStatus="status">
						<tr>
							<td>
								<a
									href="<%=path%>/page/transaction/accountHisQueryDetail.do?transactionID=<bean:write name="aqb" property="tid"/>"><bean:write
										name="aqb" property="transId" />
								</a>
							</td>
							<td>
								<logic:equal name="aqb" property="actionType" value="账户间交易">
									<a
										href="<%=path%>/page/common/getAccount.do?accountId=<bean:write name="aqb" property="otherAccountId"/>"><bean:write
											name="aqb" property="otherAccount" />
									</a>
								</logic:equal>
								<logic:notEqual name="aqb" property="actionType"
									value="账户间交易">
									<bean:write name="aqb" property="otherAccount" />
								</logic:notEqual>
							</td>
							<td>
								<bean:write name="aqb" property="actionType" />
							</td>
							<td>
								<ad:write typeid="TRADE_TYPE" name="aqb" property="tradeType" />
							</td>
							<td>
								<ad:write typeid="TRANS_STATUS" name="aqb"
									property="transStatus" />
							</td>
							<td>
								<bean:write name="aqb" format="yyyy-MM-dd HH:mm:ss"
									property="date" />
							</td>
							<td>
								<bean:write name="aqb" property="payMode" />
							</td>
							<td>
								<bean:write name="aqb" property="amount" />
								元
							</td>
							<td>
								<bean:write name="aqb" property="fee" />
								元
							</td>
						</tr>
					</c:forEach>
				</table>
				<table width="100%" height="30" border="0" cellpadding="0"
					cellspacing="0">
					<tr>
						<td height="25" align="center" class="font_blue">
							<ad:PageBean name="pagination" />
						</td>
					</tr>
				</table>
			</div>
		</div>
		<div class="button_Frame">
			<input type="button" class="button_style" value="返 回"
				onclick="location.href='<%=path%>/route.do?modual=manage$gateWayTransQuery'" />
		</div>
	</div>
</div>
